<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	
	<script>
	
		// []  {}对象
		var Client ={};
		Client.wangchao={
			'age':33,
			'add':function(x,y){
				var sum  = x+y;
				return sum;
			},
			'abc':function(){
				alert('10086');
			}
		};
		
		Client.cheye={
			'age':30,
			'add':function(x,y,z){
				var sum  = x+y+z;
				return sum;
			},
			'abc':function(){
				alert('10086');
			}
		};
		console.log(Client.wangchao.add(110,220));
		console.log(Client.cheye.add(110,220,100));
		console.log(Client.wangchao.age);
		Client.wangchao.abc();
		
	</script>
</html>
